package com.kerrykidz.scminvoicing.dao.model;

import java.util.Date;

public class ScmPrdStgEntity {
    private String fkPrdId;

    private Integer stgCnt;

    private String fkBranId;

    private String modiBy;

    private Date modiTime;

    //改变库存的量
    private Integer instgCnt;
    
    private String prdName;
    
    private Integer minStorage;
    
    public Integer getInstgCnt() {
		return instgCnt;
	}

	public void setInstgCnt(Integer instgCnt) {
		this.instgCnt = instgCnt;
	}

	/**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column scm_prd_stg.FK_PRD_ID
     *
     * @return the value of scm_prd_stg.FK_PRD_ID
     *
     * @mbggenerated Tue Aug 05 17:54:39 CST 2014
     */
    public String getFkPrdId() {
        return fkPrdId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column scm_prd_stg.FK_PRD_ID
     *
     * @param fkPrdId the value for scm_prd_stg.FK_PRD_ID
     *
     * @mbggenerated Tue Aug 05 17:54:39 CST 2014
     */
    public void setFkPrdId(String fkPrdId) {
        this.fkPrdId = fkPrdId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column scm_prd_stg.STG_CNT
     *
     * @return the value of scm_prd_stg.STG_CNT
     *
     * @mbggenerated Tue Aug 05 17:54:39 CST 2014
     */
    public Integer getStgCnt() {
        return stgCnt;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column scm_prd_stg.STG_CNT
     *
     * @param stgCnt the value for scm_prd_stg.STG_CNT
     *
     * @mbggenerated Tue Aug 05 17:54:39 CST 2014
     */
    public void setStgCnt(Integer stgCnt) {
        this.stgCnt = stgCnt;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column scm_prd_stg.FK_BRAN_ID
     *
     * @return the value of scm_prd_stg.FK_BRAN_ID
     *
     * @mbggenerated Tue Aug 05 17:54:39 CST 2014
     */
    public String getFkBranId() {
        return fkBranId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column scm_prd_stg.FK_BRAN_ID
     *
     * @param fkBranId the value for scm_prd_stg.FK_BRAN_ID
     *
     * @mbggenerated Tue Aug 05 17:54:39 CST 2014
     */
    public void setFkBranId(String fkBranId) {
        this.fkBranId = fkBranId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column scm_prd_stg.MODI_BY
     *
     * @return the value of scm_prd_stg.MODI_BY
     *
     * @mbggenerated Tue Aug 05 17:54:39 CST 2014
     */
    public String getModiBy() {
        return modiBy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column scm_prd_stg.MODI_BY
     *
     * @param modiBy the value for scm_prd_stg.MODI_BY
     *
     * @mbggenerated Tue Aug 05 17:54:39 CST 2014
     */
    public void setModiBy(String modiBy) {
        this.modiBy = modiBy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column scm_prd_stg.MODI_TIME
     *
     * @return the value of scm_prd_stg.MODI_TIME
     *
     * @mbggenerated Tue Aug 05 17:54:39 CST 2014
     */
    public Date getModiTime() {
        return modiTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column scm_prd_stg.MODI_TIME
     *
     * @param modiTime the value for scm_prd_stg.MODI_TIME
     *
     * @mbggenerated Tue Aug 05 17:54:39 CST 2014
     */
    public void setModiTime(Date modiTime) {
        this.modiTime = modiTime;
    }

	public String getPrdName() {
		return prdName;
	}

	public void setPrdName(String prdName) {
		this.prdName = prdName;
	}

	public Integer getMinStorage() {
		if(null == minStorage)
			minStorage = 0;
		return minStorage;
	}

	public void setMinStorage(Integer minStorage) {
		this.minStorage = minStorage;
	}
}